package com.mercury.design.adaptee;

import org.springframework.stereotype.Component;

/**
 * @author mercury
 * @date 2022/8/9 09:23
 */
@Component
public class OrderHandlerAdapter implements ApiHandlerAdapter {


    @Override
    public boolean supports(Object obj) {
        return obj instanceof OrderHandlerAdapter;
    }

    @Override
    public String handler() {
        return "order";
    }

}
